package com.bootdo.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.contract.dao.TimuDao;
import com.bootdo.contract.domain.TimuDO;
import com.bootdo.contract.service.TimuService;


@Service
public class TimuServiceImpl implements TimuService {
    @Autowired
    private TimuDao timuDao;

    @Override
    public TimuDO get(Integer id) {
        return timuDao.get(id);
    }

    @Override
    public List<TimuDO> list(Map<String, Object> map) {
        return timuDao.list(map);
    }

    @Override
    public List<TimuDO> listtimu(Map<String, Object> map) {
        return timuDao.listtimu(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return timuDao.count(map);
    }

    @Override
    public int save(TimuDO timu) {
        return timuDao.save(timu);
    }

    @Override
    public int update(TimuDO timu) {
        return timuDao.update(timu);
    }

    @Override
    public int remove(Integer id) {
        return timuDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return timuDao.batchRemove(ids);
    }

}
